package com.hd.boot0407.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 跟layui的数据表格交互的vo，字段
 * {
 *   "code": 0,
 *   "msg": "",
 *   "count": 1000,
 *   "data": [{}, {}]
 * }
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TableVo<T> {
    private String code;
    private String msg;
    private Integer count;
    private List<T> data;

}
